The Big Book of Small Python Projects: 81 Easy Practice Programs

The Big Book of Small Python Projects: 81 Easy Practice Programs

作者: Sweigart Al
出版社: No Starch Press
出版在: 2021-06-25
ISBN-13: 9781718501249
ISBN-10: 1718501242
裝訂格式: Quality Paper - also called trade paper
總頁數: 432 頁





內容描述


Deploy Python creatively and effectively through this collection of short coding projects carefullly curated by best-selling author and Python expert Al Sweigart. This curated collection of simple Python projects lets you dive right in and make digital art, games, animations, number-crunching tools and more - right away! Forget standard step-by-step tutorials; instead, author Al Sweigart takes a learn-by-doing approach that provides you with over 80 programs to manually copy, run, and play with. Once you see how the code works, it's time to experiment with your own changes and practice re-creating them yourself. Each project is a standalone mini-chapter that includes a sample run of the program's output, the source code, and suggestions for customization. Whether it's a vintage screensaver, a snail-racing game, a clickbait headline generator, or animated strands of your DNA, these simple, text-based programs are small - limited to 256 lines of code or less - and designed to be self-contained in a single source-code file so you can easily post and share them online. You'll create: ● Hangman, Blackjack and other games to play against a computer or your friends● Simulations of a spreading forest fire, a million dice rolls, and a Japanese abacus● Animation programs, like a fish tank, a rotating cube, and a bouncing DVD logo● Mazes that you design then escape from, and a 3D Maze Runner-like video game● Encryption programs that use ciphers like ROT13 and Vigenère to conceal text For those who've mastered basic Python syntax and are ready to have fun making programs, the projects in this book will spark new ideas for what's possible within just a few pages of code.


作者介紹


Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Beyond the Basic Stuff with Python, Invent Your Own Computer Games with Python, Cracking Codes with Python, and Coding with Minecraft (all from No Starch Press).




相關書籍

MATLAB-Based Electromagnetics (Paperback)

作者 Branislav M. Notaros

2021-06-25

數據乃 AI 之基石:用 Python 爬蟲抓取大量資料 (熱銷版)

作者 零一 韓要賓 黃園園

2021-06-25

Machine Learning Fundamentals: A Concise Introduction (Paperback)

作者 Jiang Hui

2021-06-25